using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class ShieldCD : MonoBehaviour
{
    // Start is called before the first frame update
    public static float CD;
    public static float CDCurrent;
    private Image CDimage;
    void Start()
    {
        CDimage = GetComponent<Image>();
    }

    // Update is called once per frame
    void Update()
    {
        CDimage.fillAmount = CDCurrent / CD;
    }
}
